package com.steel.yfmall.cloud.assistant.controller;

import com.steel.yfmall.cloud.assistant.dto.para.user.ParaUserBaseBean;
import com.steel.yfmall.cloud.assistant.user.UserBaseService;
import com.steel.yfmall.cloud.components.utils.base.APIMsgBean;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @program: UserSyncStatusController
 * @author: liuzhijun
 * @date: 2021-03-21 15:11
 **/
@RestController
public class UserSyncStatusController {

    /**
     * 苍穹新增/修改用户信息同步电商,审核结果同步电商
     *
     * @param paraUserBaseBean
     * @return com.steel.yfmall.cloud.components.utils.base.APIMsgBean<java.lang.Boolean>
     * @author liuzhijun
     * @date 2021/3/21 16:34
     */
    @RequestMapping("/userSyncStatus")
    public APIMsgBean<Boolean> userSyncStatus(@RequestBody ParaUserBaseBean paraUserBaseBean) {
        return userBaseService.userSyncStatus(paraUserBaseBean);
    }

    @Resource
    private UserBaseService userBaseService;
}
